<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: FJ
  Date: 2019/9/20
  Time: 20:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%--<div class="layui-header" style="background-color:rgb(239, 161, 25) ">--%>
<%--    <ul class="layui-nav" style="background-color:rgb(239, 161, 25) ">--%>
<%--        <div class="layui-layout-left">--%>
<%--            <li class="layui-nav-item"><a href="/MagicFrog/index.html"><b style="font-size: 20px;">膜蛤猫舍</b></a></li>--%>
<%--            <li class="layui-nav-item layui-this"><a href="/MagicFrog/views/foster/foster.html">寄养猫咪</a></li>--%>
<%--            <li class="layui-nav-item"><a href="/MagicFrog/views/adopt/adoptCat.html">领养猫咪</a></li>--%>
<%--            <li class="layui-nav-item"><a href="/MagicFrog/views/personal/aboutus.html">关于我们</a></li>--%>
<%--        </div>--%>
<%--        <div class="layui-layout-right">--%>
<%--            <li class="layui-nav-item">--%>
<%--                <a href="/MagicFrog/views/personal/personal-center.html">个人中心</a>--%>
<%--            </li>--%>
<%--            <li class="layui-nav-item" lay-unselect="">--%>
<%--                <a href="/MagicFrog/views/personal/personal-center.html"><img src="//t.cn/RCzsdCq"--%>
<%--                                                                              class="layui-nav-img">我</a>--%>
<%--                <dl class="layui-nav-child">--%>
<%--                    <dd><a href="#">修改信息</a></dd>--%>
<%--                    <dd><a href="#">安全管理</a></dd>--%>
<%--                    <dd><a href="#">退了</a></dd>--%>
<%--                </dl>--%>
<%--            </li>--%>
<%--            <li class="layui-nav-item"><a href="#contactus">联系我们</a></li>--%>
<%--        </div>--%>
<%--    </ul>--%>
<%--</div>--%>

<ul class="layui-nav layui-bg-orange" lay-filter="" >
    <li class="layui-nav-item" style="padding-left: 100px"><a href="<%=request.getContextPath()%>/index.html"><b style="font-size: 20px;">膜蛤猫舍</b></a></li>
    <li class="layui-nav-item layui-this"><a href="${path}/foster/fosterCreateView.action">寄养猫咪</a></li>
    <li class="layui-nav-item"><a href="/MagicFrog/views/adopt/adoptCat.html">领养猫咪</a></li>
    <li class="layui-nav-item"><a href="/MagicFrog/views/personal/aboutus.html">关于我们</a></li>

    <div class="layui-layout-right" style="padding-right: 100px" >
        <%--<li class="layui-nav-item">--%>
            <%--<a href="/MagicFrog/views/personal/personal-center.html" >个人中心</a>--%>
        <%--</li>--%>
        <%--<li class="layui-nav-item " lay-unselect="">--%>
            <%--<a href="/MagicFrog/views/personal/personal-center.html"><img src="//t.cn/RCzsdCq"--%>
                                                                          <%--class="layui-nav-img">我</a>--%>
            <%--<dl class="layui-nav-child">--%>
                <%--<dd><a href="#">修改信息</a></dd>--%>
                <%--<dd><a href="#">安全管理</a></dd>--%>
                <%--<dd><a href="#">退了</a></dd>--%>
            <%--</dl>--%>
        <%--</li>--%>
        <c:if test="${sessionScope.user == null}">
            <li class="layui-nav-item">
                <a href="/user/loadView" >登录</a>
            </li>
        </c:if>
        <c:if test="${sessionScope.user != null}">
            <li class="layui-nav-item">
                <a href="/MagicFrog/views/personal/personal-center.html" >个人中心</a>
            </li>
            <li class="layui-nav-item " lay-unselect="">
                <a href="/MagicFrog/views/personal/personal-center.html"><img src="//t.cn/RCzsdCq"
                                                                            class="layui-nav-img">我</a>
                <dl class="layui-nav-child">
                    <dd><a href="#">修改信息</a></dd>
                    <dd><a href="#">安全管理</a></dd>
                    <dd><a href="#">退了</a></dd>
                </dl>
            </li>
        </c:if>
        <li class="layui-nav-item "><a href="#contactus">联系我们</a></li>
    </div>
</ul>